import Vue from 'vue'
import Vuex from 'vuex'
import actions from './action'
import mutations from './mutations'

Vue.use(Vuex)

const state = {
    courseSiderbar:[],
    username:'',//用户名称
    cartCount:0,
    text:""
}

export default new Vuex.Store({
    actions,
    mutations,
    state
})
